from _csv import reader

import openpyxl

class Cvs:

    @staticmethod
    def readCvs(path):
        # [['借款人正常注册', '/register'],['借款人正常注册', '/register']]
        return list(reader(open(path,encoding='utf-8')))

    @staticmethod
    def readCvs1(path):
        # [['借款人正常注册', '/register'],['借款人正常注册', '/register']]
        return reader(open(path, encoding='utf-8'))

if __name__ == '__main__':
    print(str(Cvs.readCvs(r'E:\啄木鸟47软件测试开发培训\shyoldboy\utils\info.csv')))